Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new, extensible role-based navigation system for the CCIP product, including a structured configuration for product roles, type definitions, and reusable UI components for role cards. It also refactors several CCIP-related pages to streamline frontmatter and heading management, and updates icon handling for role cards.
Role-based navigation and configuration:
ccipRoles
configuration object insrc/config/roles/ccip.ts
, defining roles, descriptions, icons, and categorized links for the CCIP product. This enables a scalable, role-driven navigation and documentation experience.src/config/roles/types.ts
to ensure type safety and maintainability.src/config/roles/getRolesByProduct.ts
, currently supporting CCIP and ready for future products.Role card UI components and styling:
RoleCardGeneric
React component insrc/features/landing/components/RoleCardGeneric.tsx
to display role information and grouped links, utilizing a new icon map fromsrc/assets/role-icons/index.ts
. [1] [2]RoleCards.module.css
andRoleCardsGeneric.module.css
, providing responsive and accessible design for the role cards grid. [1] [2]CCIP page frontmatter and heading refactor:
Chain.astro
,Token.astro
, andccip-landing.astro
to define frontmatter and headings directly in each file, removing dependency ongetEntry
and simplifying data flow to layouts. [1] [2] [3] [4] [5] [6] [7] [8] [9]Content and sidebar updates:
src/content/ccip/index.mdx
toabout.mdx
and updated its frontmatter for improved metadata and description.